
class CertificationResultModel {
    bool? flag;
    String? faceCheckUrl;

    CertificationResultModel({this.flag, this.faceCheckUrl});

    CertificationResultModel.fromJson(Map<String, dynamic> json) {
        if(json["flag"] is bool) {
            flag = json["flag"];
        }
        if(json["faceCheckUrl"] is String) {
            faceCheckUrl = json["faceCheckUrl"];
        }
    }

    static List<CertificationResultModel> fromList(List<Map<String, dynamic>> list) {
        return list.map(CertificationResultModel.fromJson).toList();
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> _data = <String, dynamic>{};
        _data["flag"] = flag;
        _data["faceCheckUrl"] = faceCheckUrl;
        return _data;
    }

    CertificationResultModel copyWith({
        bool? flag,
        String? faceCheckUrl,
    }) => CertificationResultModel(
        flag: flag ?? this.flag,
        faceCheckUrl: faceCheckUrl ?? this.faceCheckUrl,
    );
}